Interface MailBox

All Superinterfaces:
IPCObject
All Known Implementing Classes:
MailBoxImpl

public interface MailBox extends IPCObject
Information provided by the PKI file:

    \class
    
    \brief Mail box access to retrive and delete mails.
    
    \example network().getDevice("PC0").getProcess("EmailClient").getEmailUser().getMailBox().deleteMailAt(0)
    
Author:
Auto-generated
  • Method Details

    • getMails

      List<Mail> getMails()
      Information provided by the PKI file:
      
          \brief Returns all the mails in the mailbox.
          
          \return vector<Mail>, value is a list that contains all the mails.
          
              
      Returns:
      List<Mail> Returns a List<Mail>
    • deleteMailAt

      void deleteMailAt(int index)
      Information provided by the PKI file:
      
          \brief Deletes the mail at the given index.
          
          \param index, index of the mail entry to delete.
          
              
      Parameters:
      index - Takes in a parameter of index